package com.victualler.core.config.dict.entity;

import com.victualler.core.base.dao.BaseDao;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Author: Guoshichang
 * @Date: Create in 13:08 ${Date}
 * @Discription: 字典id
 */
@Entity
@Table(name="comm_dict")
public class DictDao extends BaseDao implements Serializable {
    private static final long serialVersionUID =1L;

    @Column(length = 20)
    private String codeType; //字典类型
    @Column(length = 20)
    private String typeName; //字典类型名称
    @Column(length = 20)
    private String codeCode; //字典码
    @Column(length = 20)
    private String codeValue;//字典值
    @Column(length = 1)
    private int type ; //控件类型
    @Column(length = 1)
    private boolean isSysteam;//是否是系统类型




    public String getCodeType() {
        return codeType;
    }

    public void setCodeType(String codeType) {
        this.codeType = codeType;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getCodeCode() {
        return codeCode;
    }

    public void setCodeCode(String codeCode) {
        this.codeCode = codeCode;
    }

    public String getCodeValue() {
        return codeValue;
    }

    public void setCodeValue(String codeValue) {
        this.codeValue = codeValue;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public boolean isSysteam() {
        return isSysteam;
    }

    public void setSysteam(boolean systeam) {
        isSysteam = systeam;
    }
}
